package chen.web.forum;

public interface CategoryManager {
	public static final int RootCategoryId = 1;
	
	void add(Category category, Category parent, int position);
	void delete(Category category);
	void update(Category category);
	void move(Category category, Category parent, int position);
	Category get(int id);
	Category getByPath(String path);
	Category getRootCategory();
}
